package cn.tedu.bonfire.front.payment.service;

import cn.tedu.bonfire.front.payment.pojo.entity.Order;
import cn.tedu.bonfire.front.payment.pojo.param.OrderParam;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IOrderService {

    Order createOrder(OrderParam orderParam);

    void updateOrderStatus(String outTradeNo);

    Long countByOutTradeNo(String outTradeNo);

    Order getByTradeNo(String outTradeNo);

    //Double getOrderSum(Long userId);
}
